home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DTP
/
DTP_TEX
/
H002C.ZIP
/
DVIDRV1.ZIP
/
EMTEX
/
FLI_P6M.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1990-09-24
|
2KB
|
69 lines
@echo off
rem fli_p6m.cmd
rem This should be done before running this batch file:
rem mfjob all m=lqm
rem mfjob latex m=lqm
rem mfjob emsy m=lqm
set fli_opt=
:next_arg
if "%1"=="/v" goto set_v
if "%1"=="/V" goto set_v
if "%1"=="-v" goto set_v
if "%1"=="-V" goto set_v
if "%1"=="test" goto test
if "%1"=="TEST" goto test
if "%1"=="Test" goto test
if "%1"=="" goto usage
if "%2"=="" goto start
:usage
echo Usage: fli_p6m [/v] source_directory\
echo Usage: fli_p6m test
goto end
:set_v
set fli_opt=/v
shift
goto next_arg
:start
set fli_opt=%fli_opt% /b360 /f%EMTEX%\emtex\fontlist
fontlib /c %fli_opt% p6m_0 =%1%%rdpi :0 +*.pk 288 +*.pk 324 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6m_h =%1%%rdpi :h +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6m_1 =%1%%rdpi :1 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6m_2 =%1%%rdpi :2 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6m_3 =%1%%rdpi :3 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6m_4 =%1%%rdpi :4 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6m_5 =%1%%rdpi :5 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6m_sli =%1%%rdpi :6 +*.pk :7 +*.pk :8 +*.pk :9 +*.pk
if errorlevel 1 goto error
:test
fontlib /t %fli_opt% p6m_0
if errorlevel 1 goto error
fontlib /t %fli_opt% p6m_h
if errorlevel 1 goto error
fontlib /t %fli_opt% p6m_1
if errorlevel 1 goto error
fontlib /t %fli_opt% p6m_2
if errorlevel 1 goto error
fontlib /t %fli_opt% p6m_3
if errorlevel 1 goto error
fontlib /t %fli_opt% p6m_4
if errorlevel 1 goto error
fontlib /t %fli_opt% p6m_5
if errorlevel 1 goto error
fontlib /t %fli_opt% p6m_sli
if errorlevel 1 goto error
goto end
:error
echo *** Error!
:end
set fli_opt=